package com.tjec.project.projectWorkbench.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tjec.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tjec.framework.web.domain.BaseEntity;

/**
 * 造价报告号对象 bms_cost_no
 * 
 * @author pangyongfeng
 * @date 2020-08-05
 */
public class BmsCostNo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String guid;

    /** 业务id */
    //@Excel(name = "业务id")
    private String businessId;
    
    private String projectId;
    
    @Excel(name = "项目名称")
    private String projectName;
    
    /** 项目代码*/
    @Excel(name = "项目代码")
    private String projectCode;
    
    /** 造价报告名称 */
    @Excel(name = "报告名称")
    private String costName;

    /** 造价报告号 */
    @Excel(name = "报告号")
    private String costNo;

    /** 造价报告类型 */
    @Excel(name = "报告类型")
    private String costType;
    
    //作废状态
    @Excel(name = "报告号状态", readConverterExp = "0=有效,1=作废")
    private String businessStatus;
    
    @Excel(name = "业务名称")
    private String businessName;
    
    @Excel(name = "业务类别")
    private String businessType;
    
    /** 申请人 */
    private String proposer;
    
    /** 申请人 */
    @Excel(name = "申请人")
    private String createPerson;
    
    /** 盖章日期 */
    @Excel(name = "盖章日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String stampTime;

    /** 项目全局ID*/
    private String projectGlobalId;

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectGlobalId() {
        return projectGlobalId;
    }

    public void setProjectGlobalId(String projectGlobalId) {
        this.projectGlobalId = projectGlobalId;
    }

    public String getProposer() {
		return proposer;
	}

	public void setProposer(String proposer) {
		this.proposer = proposer;
	}

	public String getStampTime() {
		return stampTime;
	}

	public void setStampTime(String stampTime) {
		this.stampTime = stampTime;
	}

    public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }
    public void setCostNo(String costNo) 
    {
        this.costNo = costNo;
    }

    public String getCostNo() 
    {
        return costNo;
    }
    public void setCostName(String costName) 
    {
        this.costName = costName;
    }

    public String getCostName() 
    {
        return costName;
    }
    public void setCostType(String costType) 
    {
        this.costType = costType;
    }

    public String getCostType() 
    {
        return costType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("businessId", getBusinessId())
            .append("costNo", getCostNo())
            .append("costName", getCostName())
            .append("costType", getCostType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("businessName", getBusinessName())
            .append("businessType", getBusinessType())
            .append("projectId",getProjectId())
            .append("proposer", getProposer())
            .append("stampTime", getStampTime())
            .append("businessStatus",getBusinessStatus())
            .append("createPerson",getCreatePerson())
            .append("projectName",getProjectName())
            .append("projectCode",getProjectCode())
            .toString();
    }

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getBusinessStatus() {
		return businessStatus;
	}

	public void setBusinessStatus(String businessStatus) {
		this.businessStatus = businessStatus;
	}

	public String getCreatePerson() {
		return createPerson;
	}

	public void setCreatePerson(String createPerson) {
		this.createPerson = createPerson;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

}
